export interface ResponseData {
    /**
     * 状态码
     */
    code: number;
    /**
     * 提示信息
     */
    message: string;
    /**
     * 返回数据
     */
    ok: boolean;
}
export interface Records {
    id?: number | string;
    createTime?: string;
    updateTime?: string;
    roleName: string;
    remark?: null;
}
export interface RoleData {
    records: Records[];
    total: number;
    size: number;
    current: number;
    orders: [];
    optimizeCountSql: boolean;
    hitCount: boolean;
    countId: null;
    maxLimit: null;
    searchCount: boolean;
    pages: number;
}
export interface RoleResponseData extends ResponseData {
    data: RoleData;
}
// 菜单按钮数据类型
export interface MenuData {
    id: number | string;
    createTime: string;
    updateTime: string;
    pid: number;
    name: string;
    code: string | null;
    toCode: string | null;
    type: number;
    status: number | null;
    level: number;
    children?: MenuList[];
    select: boolean;
}
export type MenuList = MenuData[];
export interface MenuResponseData extends ResponseData {
    data: MenuList[];
}
